package com.nintendo.service;

import com.nintendo.dto.DocDTO;
import com.nintendo.entity.Doc;
import com.nintendo.vo.PageInfoVo;

import java.util.List;

public interface DocService {
    List<Doc> findAll();
    PageInfoVo findByNameAuthPage(DocDTO docDTO);
    void updateDocById(Doc doc);
    Doc findDocById(Long id);
    void deleteDocById(Long id);
    List<Doc> findDocItemsById(Long ebookId);
    void saveDoc(Doc doc);
    void deleteDocByIds(List<Long> ids);
}
